home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Graphics / Plotting / Lyapunov / Source / InfoController.h < prev    next >
Text File  |  1995-06-12  |  1KB  |  38 lines

  1. /*
  2.  * This class provides the ability for an Info Panel and a bunch of
  3.  * other panels to be loaded at a later time than when the program is loaded.
  4.  * This is specific to Info Panels, though if I find a need for something
  5.  * similar at a future date, I may change it to be more generic.
  6.  * For information of the use of the DelayInfo class, refer to the accompanying
  7.  * documentation.
  8.  */
  9.  
  10. #import <objc/Object.h>
  11.  
  12. @interface InfoController:Object
  13. {
  14.     id    infoPanel;
  15.     id    helpPanel;
  16.     id    licensePanel;
  17.     id    preferencesPanel;
  18. }
  19.  
  20. + new;                // make sure that infoPanel is nil.
  21. - setInfoPanel:anObject;    // set the infoPanel.
  22. - setHelpPanel:anObject;    // set the helpPanel.
  23. - setLicensePanel:anObject;    // set the licensePanel.
  24. - setPreferencesPanel:anObject;    // set the preferencesPanel.
  25. - infoPanel;            // return the infoPanel, or load it.
  26. - helpPanel;            // return the helpPanel, or load it.
  27. - licensePanel;            // return the licensePanel, or load it.
  28. - preferencesPanel;        // return the preferencesPanel, or load it.
  29. - info:sender;            // make the info panel be up there.
  30. - help:sender;            // make the help panel be up there.
  31. - license:sender;        // make the license panel be up there.
  32. - preferences:sender;        // make the preferences panel be up there.
  33.  
  34. - write:(NXTypedStream *)stream;
  35. - read:(NXTypedStream *)stream;
  36.  
  37. @end
  38.